package ua.nure.nguyen.blinove.chapter6.annotation.examples;

public class Runner {
	public static void main(String[] args) {
		AccountOperationManager accountManager = new AccountOperationManagerImpl();
		// registration
		AccountOperationManager secureAccountManager =
				SecurityFactory.createSecurityObject(accountManager);
		secureAccountManager.depositInCash(123456, 6);
		secureAccountManager.withdraw(123456, 2);
		secureAccountManager.convert(200);
		secureAccountManager.transfer(123456, 200);
	}
}
